uboot-mediatek: fix readmem command help message
authorShiji Yang <[email protected]>
Tue, 9 Dec 2025 10:47:32 +0000 (18:47 +0800)
committerHauke Mehrtens <[email protected]>
Tue, 9 Dec 2025 19:32:50 +0000 (20:32 +0100)
Correct the order of the arguments.

Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21109
Signed-off-by: Hauke Mehrtens <[email protected]>
package/boot/uboot-mediatek/patches/220-cmd-env-readmem.patch

index 7d4018a1a4d7575f7a129fbffcb37c950feaed95..0dd2cdd760eaad812fab048d21e236899196f6f3 100644 (file)
 +U_BOOT_CMD_COMPLETE(
 +      readmem,        CONFIG_SYS_MAXARGS,     3,      do_env_readmem,
 +      "get environment variable from memory address",
-+      "name [-b] address size\n"
++      "[-b] name address size\n"
 +      "    - store memory address to env variable\n"
 +      "      \"-b\": read binary ethaddr",
 +      var_complete